home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Information / CSMP Digest / volume 1 / csmp-v1-105.txt < prev    next >
Text File  |  1992-12-31  |  40KB  |  1,060 lines

  1. C.S.M.P. Digest             Sat, 06 Jun 92       Volume 1 : Issue 105
  2.  
  3. Today's Topics:
  4.  
  5.     VI for MPW
  6.     "FaceLess App and Notification Manager"
  7.     Anyone received the *New* MacTutor?
  8.     Modal Dialogs in MacApp with ViewEdit
  9.     TCL/THINK Applications & SuperBoomerang
  10.     ARGH! I screwed up! Help!
  11.     CMNU Template
  12.     Mac OS 2 Gig volume limit
  13.     technotes at ftp.apple.com
  14.  
  15.  
  16. The Comp.Sys.Mac.Programmer Digest is moderated by Michael A. Kelly.
  17.  
  18. These digests are available (by using FTP, account anonymous, your email
  19. address as password) in the pub/mac/csmp-digest directory on ftp.cs.uoregon.
  20. edu.  This is also the home of the comp.sys.mac.programmer Frequently Asked
  21. Questions list.  The last several issues of the digest are available from
  22. sumex-aim.stanford.edu as well.
  23.  
  24. These digests are also available via email.  Just send a note saying that you
  25. want to be on the digest mailing list to mkelly@cs.uoregon.edu, and you will
  26. automatically receive each new digest as it is created.
  27.  
  28. The digest is a collection of articles from the internet newsgroup comp.sys.
  29. mac.programmer.  It is designed for people who read c.s.m.p. semi-regularly
  30. and want an archive of the discussions.  If you don't know what a newsgroup
  31. is, you probably don't have access to it.  Ask your systems administrator(s)
  32. for details.  (This means you can't post questions to the digest.)
  33.  
  34. The articles in these digests are taken directly from comp.sys.mac.programmer.
  35. They are not edited; all articles included in this digest are in their original
  36. posted form.  The only articles that are -not- included in these digests are
  37. those which didn't receive any replies (except those that give information
  38. rather than ask a question).  All replies to each article are concatenated
  39. onto the original article in the order in which they were received.  Article
  40. threads are not added to the digests until the last article added to the
  41. thread is at least one month old (this is to ensure that the thread is dead
  42. before adding it to the digests).
  43.  
  44. Send administrative mail to mkelly@cs.uoregon.edu.
  45.  
  46. -------------------------------------------------------
  47.  
  48. From: ema@netcom.com (W. Joseph Gibson)
  49. Subject: VI for MPW
  50. Date: Tue, 28 Apr 92 17:31:00 GMT
  51. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  52.  
  53. I have heard that at one time there was a VI editor for use under MPW. Does
  54. this still exist? I am a UN*X guy, so naturally I love VI, and it would be
  55. nice to have VI under MPW. ANy help appreciated.
  56.  
  57. W. Joseph Gibson 
  58.  
  59. ==> ema@netcom.com (Put TO: J. GIBSON in the Subject: line)
  60. ==> The views expressed here are not necessarily those of EMA.
  61.  
  62. +++++++++++++++++++++++++++
  63.  
  64. From: neeri@iis.ethz.ch (Matthias Neeracher)
  65. Organization: Integrated Systems Laboratory, ETH, Zurich
  66. Date: Wed, 29 Apr 1992 09:19:41 GMT
  67.  
  68. In article <60#kz4.ema@netcom.com> ema@netcom.com (W. Joseph Gibson) writes:
  69. >I have heard that at one time there was a VI editor for use under MPW. Does
  70. >this still exist? I am a UN*X guy, so naturally I love VI, and it would be
  71. >nice to have VI under MPW. ANy help appreciated.
  72.  
  73. If there really is one, I would like to hear about it. It shouldn't be that
  74. difficcult to port elvis to the Mac. On the other hand, I have never heard of a
  75. full screen oriented program running under MPW.
  76.  
  77. Matthias
  78.  
  79. - -----
  80. Matthias Neeracher                                   neeri@iis.ethz.ch
  81.    "I'm set free to find a new illusion" -- Velvet Underground
  82.  
  83. +++++++++++++++++++++++++++
  84.  
  85. From: jess@gn.ecn.purdue.edu (Jess M Holle)
  86. Date: 29 Apr 92 16:07:56 GMT
  87. Organization: Purdue University Engineering Computer Network
  88.  
  89. What about SteVIe?  I thought that it was supposed to be a free/shareware
  90. vi editor for the mac.  It does not have any special hooks to MPW to the
  91. best of my knowledge, however.
  92.  
  93. Jess Holle
  94.  
  95. +++++++++++++++++++++++++++
  96.  
  97. From: neeri@iis.ethz.ch (Matthias Neeracher)
  98. Organization: Integrated Systems Laboratory, ETH, Zurich
  99. Date: Thu, 30 Apr 1992 10:11:05 GMT
  100.  
  101. In article <1992Apr29.160756.24860@gn.ecn.purdue.edu> jess@gn.ecn.purdue.edu (Jess M Holle) writes:
  102. >What about SteVIe?  I thought that it was supposed to be a free/shareware
  103. >vi editor for the mac.  It does not have any special hooks to MPW to the
  104. >best of my knowledge, however.
  105.  
  106. As far as I know, StiVIe is not accepted as a *real* vi by heavy vi
  107. users.
  108.  
  109. Matthias
  110.  
  111. - -----
  112. Matthias Neeracher                                   neeri@iis.ethz.ch
  113.         "I came to the conclusion that sex is a sublimation
  114.          of the work instinct" -- David Lodge, _Small World_
  115.  
  116. +++++++++++++++++++++++++++
  117.  
  118. From: jtb2@itri.bton.ac.uk (Jeff Best)
  119. Date: 3 May 92 04:17:52 GMT
  120. Organization: ITRI, Brighton Polytechnic, UK
  121.  
  122. In article <60#kz4.ema@netcom.com> ema@netcom.com (W. Joseph Gibson)
  123. writes:  
  124. >I have heard that at one time there was a VI editor for use under MPW. Does 
  125. >this still exist? I am a UN*X guy, so naturally I love VI, and it would be 
  126. >nice to have VI under MPW. ANy help appreciated.
  127.  
  128. and in article 92Apr29101941@iis.ethz.ch, neeri@iis.ethz.ch (Matthias
  129. Neeracher) writes:  
  130. >If there really is one, I would like to hear about it. It shouldn't be that 
  131. >difficcult to port elvis to the Mac. On the other hand, I have never heard of a 
  132. >full screen oriented program running under MPW.
  133.  
  134. Yes there is a vi editor for Mac, called SteVIe which I remember
  135. down-loading from Lancaster University's pdsoft system a few years ago
  136. ('89 or '90). Most of my disk library is out on loan at the moment and
  137. won't be back in my possession for another week so I can't riffle
  138. through and see if I have a copy. From the list of pd software in front
  139. of me, I can tell you that micros/mac/finder/l/l082 contains a more
  140. recent version (20/09/91) and it says the source is included. That's an
  141. l, el zero eight two.
  142.  
  143. Jeff.
  144.  
  145. ---------------------------
  146.  
  147. From: jerome@ee.fit.edu (Jerome Chan)
  148. Subject: "FaceLess App and Notification Manager"
  149. Date: 26 Apr 92 03:37:53 GMT
  150. Organization: Florida Tech, CP/EE Dept.
  151.  
  152. Does this mean that a faceless app cannot call the notification
  153. manager to inform the user of an error before it exists?
  154.  
  155.  
  156.  
  157. - --
  158.  The Evil Tofu
  159.  
  160.  
  161. +++++++++++++++++++++++++++
  162.  
  163. From: dawg6844@uxa.cso.uiuc.edu (Dan Walkowski)
  164. Organization: University of Illinois at Urbana
  165. Date: Sun, 26 Apr 1992 07:47:54 GMT
  166.  
  167. jerome@ee.fit.edu (Jerome Chan) writes:
  168.  
  169. >Does this mean that a faceless app cannot call the notification
  170. >manager to inform the user of an error before it exists?
  171.  
  172.  
  173.  
  174. No.  An FBA can use the Notification Manager.  It just can't open any dialogs/
  175. windows/menus of its own.
  176.  
  177. Dan
  178. - -- 
  179. Dan Walkowski  
  180. Univ. of Illinois
  181. walkowsk@cs.uiuc.edu
  182. - ---------------------------------------------------------------------------
  183.  
  184. +++++++++++++++++++++++++++
  185.  
  186. From: Romain.Vignes@fifi.univ-lyon1.fr
  187. Date: 5 May 92 08:43:05 GMT
  188. Organization: INSA Informatique, Lyon, France
  189.  
  190. dawg6844@uxa.cso.uiuc.edu (Dan Walkowski) writes:
  191.  
  192. >jerome@ee.fit.edu (Jerome Chan) writes:
  193.  
  194. >>Does this mean that a faceless app cannot call the notification
  195. >>manager to inform the user of an error before it exists?
  196.  
  197. >No.  An FBA can use the Notification Manager.  It just can't open any dialogs/
  198. >windows/menus of its own.
  199.  
  200. I wrote a faceless app that calls the NM when an error occured.
  201.  
  202. It only works in the THINK C 5.0 debugger environnement !!!
  203.  
  204. I think it doesn't work because I am posting an NM record just before calling
  205. ExitToShell().
  206.  
  207. But I don't know how to solve this problem !!!
  208.  
  209. Can anyone help me ??
  210.  
  211. Many thanx...
  212.  
  213.  
  214. - --
  215. - -------------------------------------------------------------------
  216. Romain Vignes
  217. Computer Science Dept - INSA Lyon, FRANCE - roms@fifi.univ-lyon1.fr
  218. - -------------------------------------------------------------------
  219.  
  220. +++++++++++++++++++++++++++
  221.  
  222. From: zben@ni.umd.edu (Charles B. Cranston)
  223. Organization: UM Home for the Terminally Analytical
  224. Date: Tue, 5 May 1992 19:48:41 GMT
  225.  
  226. In article <1992May05.084305.6865@fifi.univ-lyon1.fr>, Romain.Vignes@fifi.univ-lyon1.fr writes:
  227.   
  228. > I wrote a faceless app that calls the NM when an error occured.
  229. > It only works in the THINK C 5.0 debugger environnement !!!
  230. > I think it doesn't work because I am posting an NM record just before calling
  231. > ExitToShell().
  232.  
  233. Probably because the storage containing the NM record was either in the application
  234. heap or in application globals or on the application stack.  The storage must be
  235. stable until the notification is actually delivered.  This problem also occurred
  236. when I was trying to use NM to deliver diagnostics for setup problems from an INIT
  237. (under late system 6 versions).
  238.  
  239. I decided to allocate a small system heap block.  Since it was small and I never
  240. finished the INIT, I never solved the problem of how to deallocate the heap block
  241. after the notification was delivered.  You *might* be able to put the two assembly
  242. language instructions:
  243.  
  244.      _DisposPtr
  245.      RTS
  246.  
  247. into two shorts in the heap block, then push the heap block address and leap to
  248. the two instructions.  One would hope the instructions would still be there for
  249. the few cycles needed to do the RTS, but if they ever start clearing blocks on
  250. _Dispose this would stop working real fast.  I'd avoid the first 12 bytes or so
  251. of the block because there might be some kind of free-block-time data structure
  252. going on there...
  253.  
  254. Or if you REALLY want to be ugly, look up the trap address for DisposPtr and
  255. (with the return address to NM on stacktop) push the block address and *LEAP* to
  256. the trap.  The trap would then deallocate the block and return to the stacktop
  257. address (directly back to NM) and you'd never have to worry about the two return
  258. instructions being overwritten by the pointer dispose.
  259.  
  260. Two kinds of ugly, I guess...
  261.  
  262.  
  263. +++++++++++++++++++++++++++
  264.  
  265. From: russotto@eng.umd.edu (Matthew T. Russotto)
  266. Date: Tue, 05 May 92 20:58:03 GMT
  267. Organization: College of Engineering, University of Maryland, College Park
  268.  
  269. In article <1992May5.194841.6254@ni.umd.edu> zben@ni.umd.edu (Charles B. Cranston) writes:
  270.  
  271. >I decided to allocate a small system heap block.  Since it was small and I never
  272. >finished the INIT, I never solved the problem of how to deallocate the heap block
  273. >after the notification was delivered.  You *might* be able to put the two assembly
  274. >language instructions:
  275. >
  276. >     _DisposPtr
  277. >     RTS
  278. >
  279. >into two shorts in the heap block, then push the heap block address and leap to
  280. >the two instructions.  One would hope the instructions would still be there for
  281. >the few cycles needed to do the RTS, but if they ever start clearing blocks on
  282. >_Dispose this would stop working real fast.  I'd avoid the first 12 bytes or so
  283. >of the block because there might be some kind of free-block-time data structure
  284. >going on there...
  285. >
  286. >Or if you REALLY want to be ugly, look up the trap address for DisposPtr and
  287. >(with the return address to NM on stacktop) push the block address and *LEAP* to
  288. >the trap.  The trap would then deallocate the block and return to the stacktop
  289. >address (directly back to NM) and you'd never have to worry about the two return
  290. >instructions being overwritten by the pointer dispose.
  291. >
  292. >Two kinds of ugly, I guess...
  293.  
  294. There is a sort-of-clean way to do it-- with the return address on the top of
  295. the stack, and the registers loaded properly, do a
  296. _DisposPtr, AutoPop.
  297.  
  298. The trap dispatcher will then automagically return to your caller.
  299.  
  300.  
  301. - -- 
  302. Matthew T. Russotto    russotto@eng.umd.edu    russotto@wam.umd.edu
  303. Some news readers expect "Disclaimer:" here.
  304. Just say NO to police searches and seizures.  Make them use force.
  305. (not responsible for bodily harm resulting from following above advice)
  306.  
  307. +++++++++++++++++++++++++++
  308.  
  309. From: edw@caligula.cts.com (Ed Watkeys)
  310. Date: 5 May 92 13:49:19 GMT
  311. Organization: Distant Software
  312.  
  313.  
  314. In article <1992May05.084305.6865@fifi.univ-lyon1.fr> (comp.sys.mac.programmer), Romain.Vignes@fifi.univ-lyon1.fr writes:
  315. > dawg6844@uxa.cso.uiuc.edu (Dan Walkowski) writes:
  316. > >jerome@ee.fit.edu (Jerome Chan) writes:
  317. > >>Does this mean that a faceless app cannot call the notification
  318. > >>manager to inform the user of an error before it exists?
  319. > >No.  An FBA can use the Notification Manager.  It just can't open any dialogs/
  320. > >windows/menus of its own.
  321. > I wrote a faceless app that calls the NM when an error occured.
  322. > It only works in the THINK C 5.0 debugger environnement !!!
  323. > I think it doesn't work because I am posting an NM record just before calling
  324. > ExitToShell().
  325. > But I don't know how to solve this problem !!!
  326. > Can anyone help me ??
  327. > Many thanx...
  328. > --
  329. > -------------------------------------------------------------------
  330. > Romain Vignes
  331. > Computer Science Dept - INSA Lyon, FRANCE - roms@fifi.univ-lyon1.fr
  332. > -------------------------------------------------------------------
  333.  
  334. I don't know the answer to your question, but I think you've hit upon
  335. something with your THINK C Debugger comment -- there's no good way to
  336. debug an appe in THINK C. I've found that most of the background only
  337. stuff I do is essentially Apple events, and THINK C has no facility for
  338. sending Apple events to applications. I find UserLand Frontier to be a
  339. better debugger than THINK Debugger because I can easily send Apple
  340. events to my applications.
  341.  
  342. Ed
  343.  
  344. - --
  345. Ed Watkeys (Drexel U. Comp Sci)  "Moral judgement and condemnation is
  346. edw@caligula.cts.com              the favorite form of revenge for the
  347. edw%caligula@phlpa.pha.pa.us      spiritually limited on those who are
  348. ls.com!phlpa!caligula!edw         less so...." -- Friedrich Nietzsche
  349.  
  350. ---------------------------
  351.  
  352. From: rjacks@austlcm.sps.mot.com (rodney jacks)
  353. Subject: Anyone received the *New* MacTutor?
  354. Date: 30 Apr 92 23:28:42 GMT
  355. Organization: Motorola Inc, Austin, Texas
  356.  
  357. I was wondering if anyone has received the new issue (the first
  358. after the recent takeover by Xplain) of MacTutor?  I talked
  359. with someone at Xplain on 4/20/92 and they said the new revamped
  360. issue had just went out.  Well I still haven't received it as of 
  361. yesterday 4/29.  Does it really take 7+ days for 3rd class mail
  362. to get from California to Texas or am I just anxious?  
  363.  
  364. I subscribed just a few days before the takeover was announced
  365. on the net.  My credit card has been charged and I am wondering
  366. if I'll ever receive an issue.
  367.  
  368. Thanks,
  369. - -Rodney
  370. ***********************************************************************
  371. **  Rodney Jacks                                                     **
  372. **  Motorola Inc, Austin, Texas                                      **
  373. **  E-mail:  rjacks@austlcm.sps.mot.com                              **
  374. **  Picard asks Worf what he thought of commanding the _Enterprise_  **
  375. **  "Comfortable chair."     ST.TNG _The Emissary_                   ** 
  376. ***********************************************************************
  377.  
  378. +++++++++++++++++++++++++++
  379.  
  380. From: jahnke@biosci.arizona.edu (Jerome Jahnke)
  381. Date: 1 May 92 18:33:08 GMT
  382. Organization: Biology Learning Center
  383.  
  384. In article <1992Apr30.232842.5187@oakhill.sps.mot.com>, rjacks@austlcm.sps.mot.com (rodney jacks) writes:
  385. > I was wondering if anyone has received the new issue (the first
  386. > after the recent takeover by Xplain) of MacTutor?  I talked
  387. > with someone at Xplain on 4/20/92 and they said the new revamped
  388. > issue had just went out.  Well I still haven't received it as of 
  389. > yesterday 4/29.  Does it really take 7+ days for 3rd class mail
  390. > to get from California to Texas or am I just anxious?  
  391. > I subscribed just a few days before the takeover was announced
  392. > on the net.  My credit card has been charged and I am wondering
  393. > if I'll ever receive an issue.
  394.  
  395. I got mine two days ago (our mail system here at the U of A is a puzzle,
  396. though, I usally get MacWeeks 3 issues at a time). Anyway it is nice, it 
  397. contains one of the most humorous editorials I have ever read. And a good
  398. article on 3D graphics. I am holding judgement for a few issues to see what
  399. they do.
  400.  
  401. > Thanks,
  402. > -Rodney
  403. > ***********************************************************************
  404. > **  Rodney Jacks                                                     **
  405. > **  Motorola Inc, Austin, Texas                                      **
  406. > **  E-mail:  rjacks@austlcm.sps.mot.com                              **
  407. > **  Picard asks Worf what he thought of commanding the _Enterprise_  **
  408. > **  "Comfortable chair."     ST.TNG _The Emissary_                   ** 
  409. > ***********************************************************************
  410.  
  411.  
  412. Jer,
  413. - ----
  414. Jerome Jahnke
  415. Biology Learning Center
  416. University of Arizona
  417. 'jahnke@biosci.arizona.edu' or +1 (602) 621-3820
  418.  
  419. +++++++++++++++++++++++++++
  420.  
  421. From: daven@notable.com (Dave Newman)
  422. Date: 2 May 92 05:32:35 GMT
  423. Organization: Notable Technologies, Inc.
  424.  
  425.  
  426. In article <1992Apr30.232842.5187@oakhill.sps.mot.com> (comp.sys.mac.programmer), rjacks@austlcm.sps.mot.com (rodney jacks) writes:
  427. | I was wondering if anyone has received the new issue (the first
  428. | after the recent takeover by Xplain) of MacTutor?
  429.  
  430. Received mine 3 days ago.
  431.  
  432. - --Dave
  433.  
  434. - -----------------------------------------------------------
  435. Dave Newman                 |  AOL:      AFC Tinman
  436. Artillery Spotter           |  CIS:      70743,3323
  437. Notable Technologies, Inc.  |  internet: daven@notable.com
  438. 510.208.4449                |  FAX:      510.444.4493
  439. - -----------------------------------------------------------
  440.  
  441. +++++++++++++++++++++++++++
  442.  
  443. From: tlt38517@uxa.cso.uiuc.edu (Terry Thiel)
  444. Date: 3 May 92 18:36:49 GMT
  445. Organization: University of Illinois at Urbana
  446.  
  447. daven@notable.com (Dave Newman) writes:
  448. >| I was wondering if anyone has received the new issue (the first
  449. >| after the recent takeover by Xplain) of MacTutor?
  450. >Received mine 3 days ago.
  451.  
  452. How about some info?  What are the articles?  What is your general impression ofthe magazine?
  453. - -Terry
  454.  
  455. +++++++++++++++++++++++++++
  456.  
  457. From: wishart@bnl.gov (James Wishart)
  458. Date: 4 May 92 18:50:49 GMT
  459. Organization: Brookhaven National Laboratory
  460.  
  461. In article <1992Apr30.232842.5187@oakhill.sps.mot.com>, rjacks@austlcm.sps.mot.com (rodney jacks) writes:
  462. > I was wondering if anyone has received the new issue (the first
  463. > after the recent takeover by Xplain) of MacTutor?  I talked
  464. > with someone at Xplain on 4/20/92 and they said the new revamped
  465. > issue had just went out.  Well I still haven't received it as of 
  466. > yesterday 4/29.  Does it really take 7+ days for 3rd class mail
  467. > to get from California to Texas or am I just anxious?  
  468.  
  469. My first class subscription arrived on 4/29.  96 pages, high quality paper,
  470. liberal use of color (hope they can afford it).
  471.  
  472. One serious error - the text of both of Jorg Langowski's articles on p40
  473. was reprinted on p41 - so one whole page of text was lost.
  474.  
  475. Jim Wishart
  476.  
  477. ---------------------------
  478.  
  479. From: gray@tinman.asel.udel.edu (John Gray)
  480. Subject: Modal Dialogs in MacApp with ViewEdit
  481. Organization: AI duPont Inst.
  482. Date: Fri, 1 May 1992 12:41:48 GMT
  483.  
  484.  
  485. I recently posted about some problems I was having creating dialogs with 
  486. ViewEdit.  I have been able to clear them all up except for one.  According
  487. the Programmers Guide to MacApp you must attach a behavior to a dialog to
  488. make it modal.  It also states to this can be done with ViewEdit.  I can
  489. not figure out how to this with ViewEdit.  I can find no mention of it in
  490. the manual for ViewEdit.  The bahavior that I am currently getting is that
  491. my buttons don't work.  I have a hand coded resource that works fine with
  492. the code.  But I can get ViewEdit to create an equivilet resource.
  493.  
  494. Any Suggestions?
  495.  
  496. Thanks
  497. John Gray
  498. gray@asel.udel.edu
  499.  
  500.  
  501.  
  502. +++++++++++++++++++++++++++
  503.  
  504. From: mlanett@void.ncsa.uiuc.edu (Mark Lanett)
  505. Organization: University of Illinois at Urbana
  506. Date: Fri, 1 May 1992 13:55:25 GMT
  507.  
  508. gray@tinman.asel.udel.edu (John Gray) writes:
  509.  
  510. >ViewEdit.  I have been able to clear them all up except for one.  According
  511. >the Programmers Guide to MacApp you must attach a behavior to a dialog to
  512. >make it modal.  It also states to this can be done with ViewEdit.  I can
  513. >not figure out how to this with ViewEdit.  I can find no mention of it in
  514. >the manual for ViewEdit.  The bahavior that I am currently getting is that
  515. >my buttons don't work.  I have a hand coded resource that works fine with
  516. >the code.  But I can get ViewEdit to create an equivilet resource.
  517.  
  518. The behavior is installed automatically by TDialogView; in fact, that's almost
  519. it's only function. The behavior is attached to the *window*, not dialog view,
  520. and therefore the window must be enabled.
  521.  
  522. The behavior is needed for modal and modeless dialogs; modality itself is
  523. controlled by a separate boolean.
  524.  
  525. So, you have real MA3 documentation?
  526. - -- 
  527. Mark Lanett, NCSA Software Development                         mlanett@uiuc.edu
  528.  
  529. +++++++++++++++++++++++++++
  530.  
  531. From: sdk@cci632.cci.com (Stephen Knight)
  532. Date: 1 May 92 19:41:34 GMT
  533. Organization: [Computer Consoles, Inc., Rochester, NY
  534.  
  535. In article <1992May1.124148.19022@udel.edu> gray@tinman.asel.udel.edu (John Gray) writes:
  536. >
  537. >I recently posted about some problems I was having creating dialogs with 
  538. >ViewEdit.  I have been able to clear them all up except for one.  According
  539. >the Programmers Guide to MacApp you must attach a behavior to a dialog to
  540. >make it modal.  It also states to this can be done with ViewEdit.  I can
  541. >not figure out how to this with ViewEdit.  I can find no mention of it in
  542. >the manual for ViewEdit.  The bahavior that I am currently getting is that
  543. >my buttons don't work.  I have a hand coded resource that works fine with
  544. >the code.  But I can get ViewEdit to create an equivilet resource.
  545. >
  546. >Any Suggestions?
  547.  
  548.   In MacApp 3.0, dialogs seem to be dismissed by controls where the 
  549. 'Default Choice' is set to 34.  The PoseModally will only return if your 
  550. button has the 'Default Choice' equal to mDismiss (which can be found 
  551. in "...MacApp 3.0:Interfaces:RIncludes:ViewTypes.r").
  552.   To set it, with ViewEdit, open your button, open the TControl area and
  553. 'Default Choice' is the first option.
  554.  
  555.   Well, it worked for me.
  556.  
  557. steve knight
  558. sdk@ccird2.cci.com
  559.  
  560. +++++++++++++++++++++++++++
  561.  
  562. From: ksand@apple.com (Kent Sandvik)
  563. Date: 6 May 92 01:23:46 GMT
  564. Organization: MacDTS Mongols
  565.  
  566. In article <1992May1.194134.17213@cci632.cci.com>, sdk@cci632.cci.com (Stephen
  567. Knight) writes:
  568. > In article <1992May1.124148.19022@udel.edu> gray@tinman.asel.udel.edu (John
  569. Gray) writes:
  570. > >
  571. > >I recently posted about some problems I was having creating dialogs with 
  572. > >ViewEdit.  I have been able to clear them all up except for one.  According
  573. > >the Programmers Guide to MacApp you must attach a behavior to a dialog to
  574. > >make it modal.  It also states to this can be done with ViewEdit.  I can
  575. > >not figure out how to this with ViewEdit.  I can find no mention of it in
  576. > >the manual for ViewEdit.  The bahavior that I am currently getting is that
  577. > >my buttons don't work.  I have a hand coded resource that works fine with
  578. > >the code.  But I can get ViewEdit to create an equivilet resource.
  579. > >
  580. > >Any Suggestions?
  581. >   In MacApp 3.0, dialogs seem to be dismissed by controls where the 
  582. > 'Default Choice' is set to 34.  The PoseModally will only return if your 
  583. > button has the 'Default Choice' equal to mDismiss (which can be found 
  584. > in "...MacApp 3.0:Interfaces:RIncludes:ViewTypes.r").
  585. >   To set it, with ViewEdit, open your button, open the TControl area and
  586. > 'Default Choice' is the first option.
  587.  
  588. Another way is to check the sources, by reading those you would find
  589. out that the TDialogBehavior is created if there's a TDialogView inside
  590. the window. So what you need to do is to add one into your view collection!
  591.  
  592. Cheers,
  593. Kent
  594. Dynamic Language Evangelist - prepare for the bright future when static
  595. languages are dead :-).
  596.  
  597. ---------------------------
  598.  
  599. From: srp@babar.mmwb.ucsf.edu (Scott R. Presnell)
  600. Subject: TCL/THINK Applications & SuperBoomerang
  601. Date: 5 May 92 15:20:05 GMT
  602.  
  603. Hi - 
  604.     I'm writing an application in Think C 5.0.2 using the TCL
  605. libraries.  I'd like my application to work in conjunction with
  606. SuperBoomerang.  The SuperBoomerang extentions to SFPGetFile() seem to work
  607. correctly, but the "DirectOpen" function doesn't attach a menu to my Open
  608. or Import menu items.  I've checked the Now documentataion, but they've
  609. left out any technical details...
  610.     
  611.     1) How does SuperBoomerang attach itself to the Open/Import Menus?
  612.  
  613.     2) What do I have to do in my application to allow this to work?
  614.  
  615.     Thanks for any help.
  616.  
  617.     - Scott Presnell (srp@cgl.ucsf.edu)
  618.  
  619. - -- 
  620. Scott Presnell                        +1 (415) 476-9890
  621. Pharmacuetical Chemistry, S-926            srp@cgl.ucsf.edu
  622. University of California
  623. San Francisco, CA 94143-0446            
  624.  
  625. +++++++++++++++++++++++++++
  626.  
  627. From: zobkiw@world.std.com (Joe Zobkiw)
  628. Date: 5 May 92 18:30:07 GMT
  629. Organization: The World Public Access UNIX, Brookline, MA
  630.  
  631. << The SuperBoomerang extentions to SFPGetFile() seem to work
  632. correctly, but the "DirectOpen" function doesn't attach a menu to my Open
  633. or Import menu items. >>
  634.  
  635. I think that SB simply looks for a FILE menu and then looks for an item
  636. named Open.... That's what seems to happen at first glance. NOTE: I have
  637. NOT looked into any code...but that is what seems to happen.
  638.  
  639. - -- 
  640. - -- joe zobkiw                             Internet: zobkiw@world.std.com
  641. - --                                             AOL: AFL Zobkiw  
  642. - -- mac.synthesis.MIDI.THINK C.OOP.asm          CI$: 70712,515 
  643. - -- communications.networks.cool tunes...
  644.  
  645. ---------------------------
  646.  
  647. From: edw@caligula.cts.com (Ed Watkeys)
  648. Subject: ARGH! I screwed up! Help!
  649. Date: Mon, 4 May 92 23:46:10 EDT
  650. Organization: Distant Software
  651.  
  652. I was making some 64 x 64 ppats today, and decided to try to make one my desktop
  653. background...
  654.  
  655. Well, I opened up the System file with ResEdit and opened up ppat #16 and
  656. changed it to 64 x 64 and pasted my pattern -- it worked fine, at least until
  657. I changed it back to 8 x 8, when I could only choose black and white background
  658. patterns! Is there any way to fix this short of reinstalling?
  659.  
  660. BTW, I've got 7.0.1 w/ TU 1.1 (yeah, I know... I should have 1.1.1, but I
  661. don't feel like downloading 700K at 4 second/K...)
  662.  
  663. Thanks, (and yes, I admit that I shouldn't have been doing this...)
  664. Ed
  665.  
  666. - --
  667. Ed Watkeys (Drexel U. Comp Sci)  "Moral judgement and condemnation is
  668. edw@caligula.cts.com              the favorite form of revenge for the
  669. edw%caligula@phlpa.pha.pa.us      spiritually limited on those who are
  670. ls.com!phlpa!caligula!edw         less so...." -- Friedrich Nietzsche
  671.  
  672. +++++++++++++++++++++++++++
  673.  
  674. From: eric@homebase.vistachrome.com (Eric Brunson)
  675. Organization: Vista-Chrome, Incorporated
  676. Date: Tue, 5 May 1992 15:04:19 GMT
  677.  
  678. In article <01050133.2mva21@caligula.cts.com> edw@caligula.cts.com (Ed Watkeys) writes:
  679. >
  680. >Well, I opened up the System file with ResEdit and opened up ppat #16 and
  681. >changed it to 64 x 64 and pasted my pattern -- it worked fine, at least until
  682. >I changed it back to 8 x 8, when I could only choose black and white background
  683. >patterns! Is there any way to fix this short of reinstalling?
  684. >
  685.  
  686. I ran into a similar problem with a cdev called 'Pik-a-Pat', which removes 
  687. the ppt# ( color pattern list ) that the general CDEV uses to select from.
  688. I don't know the id number of the list you need ( because I happen to like
  689. Pik-a-Pat ), but if you copy the system from your install disks onto your
  690. HD ( not over you current copy ), open both the new copy and a _COPY_ of
  691. you current system file, you can cut and paste the ppt# resources across.
  692. If you dont use any drivers that require custom resources in the system, 
  693. like some network drivers, you could simply rename you current system
  694. file, put the new into the system folder and reboot.
  695.  
  696.  
  697. +++++++++++++++++++++++++++
  698.  
  699. From: edw@caligula.cts.com (Ed Watkeys)
  700. Date: Tue, 5 May 92 19:17:35 EDT
  701. Organization: Distant Software
  702.  
  703.  
  704. In article <1992May5.150419.25445@homebase.vistachrome.com> (comp.sys.mac.programmer), eric@homebase.vistachrome.com (Eric Brunson) writes:
  705. > In article <01050133.2mva21@caligula.cts.com> edw@caligula.cts.com (Ed Watkeys) writes:
  706. > >
  707. > >Well, I opened up the System file with ResEdit and opened up ppat #16 and
  708. > >changed it to 64 x 64 and pasted my pattern -- it worked fine, at least until
  709. > >I changed it back to 8 x 8, when I could only choose black and white background
  710. > >patterns! Is there any way to fix this short of reinstalling?
  711. > >
  712. > I ran into a similar problem with a cdev called 'Pik-a-Pat', which removes 
  713. > the ppt# ( color pattern list ) that the general CDEV uses to select from.
  714. > I don't know the id number of the list you need ( because I happen to like
  715. > Pik-a-Pat ), but if you copy the system from your install disks onto your
  716. > HD ( not over you current copy ), open both the new copy and a _COPY_ of
  717. > you current system file, you can cut and paste the ppt# resources across.
  718. > If you dont use any drivers that require custom resources in the system, 
  719. > like some network drivers, you could simply rename you current system
  720. > file, put the new into the system folder and reboot.
  721. Thanks a lot -- things are back to normal... The black and white patterns
  722. really bothered me...
  723.  
  724. I've had mixed success with Pik-a-Pat, also. It worked very unreliably. Hmm...
  725.  
  726. Ed
  727.  
  728. - --
  729. Ed Watkeys (Drexel U. Comp Sci)  "Moral judgement and condemnation is
  730. edw@caligula.cts.com              the favorite form of revenge for the
  731. edw%caligula@phlpa.pha.pa.us      spiritually limited on those who are
  732. ls.com!phlpa!caligula!edw         less so...." -- Friedrich Nietzsche
  733.  
  734. +++++++++++++++++++++++++++
  735.  
  736. From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
  737. Date: 6 May 92 04:45:14 GMT
  738. Organization: University of Waikato, Hamilton, New Zealand
  739.  
  740. In article <1992May5.150419.25445@homebase.vistachrome.com>, eric@homebase.vistachrome.com (Eric Brunson) writes:
  741. > I ran into a similar problem with a cdev called 'Pik-a-Pat', which removes
  742. > the ppt# ( color pattern list ) that the general CDEV uses to select from.
  743. > I don't know the id number of the list you need ( because I happen to like
  744. > Pik-a-Pat ), but if you copy the system from your install disks onto your
  745. > HD ( not over you current copy ), open both the new copy and a _COPY_ of
  746. > you current system file, you can cut and paste the ppt# resources across.
  747.  
  748. The id of the standard system "ppt#" resource is 0 (which equals sysPatListID,
  749. funnily enough).
  750.  
  751. One thing that has always annoyed me is that there is no colour equivalent of
  752. the GetIndPattern toolbox call, for loading a colour pattern out of a ppt#.
  753. But the code's not that hard to write; the layout of a ppt# resource is
  754. fairly straightforward.
  755.  
  756. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  757. Computer Services Dept                     fax: +64-7-838-4066
  758. University of Waikato            electric mail: ldo@waikato.ac.nz
  759. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+13:00
  760. My other signature is a Porsche.
  761.  
  762. ---------------------------
  763.  
  764. From: rgrimm@athena.mit.edu (Robert Grimm)
  765. Subject: CMNU Template
  766. Date: 6 May 92 02:46:44 GMT
  767. Organization: Massachusetts Institute of Technology
  768.  
  769. Sorry for taking bandwidth with a FAQ:
  770. Can someone please email me and tell me where to ftp a CMNU ResEdit template
  771.  
  772. Thanx a thousand times
  773. (-: Robert
  774.  
  775. +++++++++++++++++++++++++++
  776.  
  777. From: mlanett@void.ncsa.uiuc.edu (Mark Lanett)
  778. Organization: University of Illinois at Urbana
  779. Date: Wed, 6 May 1992 04:10:55 GMT
  780.  
  781. rgrimm@athena.mit.edu (Robert Grimm) writes:
  782.  
  783. >Sorry for taking bandwidth with a FAQ:
  784. >Can someone please email me and tell me where to ftp a CMNU ResEdit template
  785.  
  786. My ResEdit (2.1.1) has a CMNU editor in it. If you mean a TMPL, then there's
  787. one for 'cmnu's which appears to be slightly different; looking at the
  788. definition of CMNU in MacApp, the align word is now in front of the command
  789. number, not after, and there's a fill byte after it. But there's no reason the
  790. normal CMNU editor won't work.
  791. - -- 
  792. Mark Lanett, NCSA Software Development - mlanett@uiuc.edu
  793.  
  794. ---------------------------
  795.  
  796. From: jverdega@cae.wisc.edu (Jeffrey Verdegan)
  797. Subject: Mac OS 2 Gig volume limit
  798. Date: 29 Apr 92 22:05:40 GMT
  799. Organization: College of Engineering, Univ. of Wisconsin-Madison
  800.  
  801. As I understand it, the Mac file OS/file system can only address two 2G of 
  802. file space on a given volume.
  803.  
  804. I have heard, however, that there is some sort of INIT/Extension/magic word
  805. that will allow it to address 4G.
  806.  
  807. Now, the questions.
  808.  
  809. 1) What happens if you try to mount a volume that is bigger than 2G? Does it
  810. not mount at all?  Mount but you can only see half of it?
  811.  
  812. 2) Does the aforementioned patch exist?  Will it work with both System 6 and 7?
  813.  
  814. 3) Where can I find more info on this?
  815.  
  816.  
  817. Thanks mucho!!
  818. Jeff
  819.  
  820.  
  821. - ----------
  822.  
  823. Jeff Verdegan
  824. University of Wisconsin-Madison
  825. Computer-Aided Engineering Center
  826. jjv@caestaff.engr.wisc.edu
  827. (608) 263-1875
  828.  
  829. +++++++++++++++++++++++++++
  830.  
  831. From: daniels@xstor.com (Daniel A. Segel)
  832. Date: 4 May 92 19:27:51 GMT
  833. Organization: Storage Dimensions, Inc.
  834.  
  835. In article <1992Apr29.170540.13865@doug.cae.wisc.edu>, jverdega@cae.wisc.edu (Jeffrey Verdegan) writes:
  836. > As I understand it, the Mac file OS/file system can only address two 2G of 
  837. > file space on a given volume.
  838. > I have heard, however, that there is some sort of INIT/Extension/magic word
  839. > that will allow it to address 4G.
  840. > Now, the questions.
  841. > 1) What happens if you try to mount a volume that is bigger than 2G? Does it
  842. > not mount at all?  Mount but you can only see half of it?
  843.  
  844. This happened last year when our MIS department set up a new server with
  845. something like 4GB or 7GB of space on a single logical volume running some
  846. varient of NetWare. They hadn't bothered asking anyone who knew Macs whether
  847. this would be a problem.
  848.  
  849. My Mac would happily see the volume, mount the volume, and read (i.e. copy)
  850. files from the volume. But as soon as I tried to write anything to it, I got
  851. a "not enough room, need 3,456,748K more space" kind of message. The Mac OS
  852. was interpreting the volume size as a signed integer and just treated it as a
  853. volume with a negative amount of free space on it. Or something like that.
  854.  
  855. > 2) Does the aforementioned patch exist?  Will it work with both System 6 and 7?
  856.  
  857. I've never heard of such a patch, but would really like to see one. I suspect
  858. it involves patching too much of the OS to be practical.
  859.  
  860. > 3) Where can I find more info on this?
  861.  
  862. You're probably asking in the best place right now...
  863.  
  864. > Thanks mucho!!
  865. > Jeff
  866.  
  867. You're welcome mucho.
  868.  
  869. Daniel A. Segel
  870. daniels@xstor.com
  871.  
  872. ---------------------------
  873.  
  874. Organization: Johannes Kepler University Linz - Computing Center
  875. Date: Thursday, 30 Apr 1992 08:35:20 CDT
  876. From: Norbert Mueller <K360171@ALIJKU11.BITNET>
  877. Subject: technotes at ftp.apple.com
  878.  
  879. The technotes recently reappeared in ftp.apple.com. However the hqx files seem
  880. to be damaged. (I only tried those >300)
  881.  
  882. Norbert
  883.  
  884. +++++++++++++++++++++++++++
  885.  
  886. From: alen@crash.cts.com (Alen Shapiro)
  887. Date: 3 May 92 02:10:40 GMT
  888. Organization: Crash TimeSharing, El Cajon, CA
  889.  
  890. In <92121.083520K360171@ALIJKU11.BITNET> K360171@ALIJKU11.BITNET (Norbert Mueller) writes:
  891.  
  892. >The technotes recently reappeared in ftp.apple.com. However the hqx files seem
  893. >to be damaged. (I only tried those >300)
  894.  
  895. My versions of unstuffit suggest that an new encoding method has been
  896. used and perhaps we need apple's proprietary unpublished secret version
  897. of stuffit.
  898.  
  899. Only kidding...we would all know if apple had a secret version of stuffit
  900. wouldn't we?
  901.  
  902. The 2 files I tried won't unstuff however!! (the index was one of
  903. these...a useful file by all accounts).
  904.  
  905. - --alen
  906. alen@crash.cts.com
  907.  
  908. +++++++++++++++++++++++++++
  909.  
  910. From: molla@zeus.uucp (Levent Mollamustafaoglu)
  911. Date: 3 May 92 04:12:14 GMT
  912. Organization: Aiken Computation Lab, Harvard University
  913.  
  914. In article <1992May03.021040.26124@crash.cts.com> alen@crash.cts.com (Alen Shapiro) writes:
  915. >In <92121.083520K360171@ALIJKU11.BITNET> K360171@ALIJKU11.BITNET (Norbert Mueller) writes:
  916. >
  917. >>The technotes recently reappeared in ftp.apple.com. However the hqx files seem
  918. >>to be damaged. (I only tried those >300)
  919. >
  920. >My versions of unstuffit suggest that an new encoding method has been
  921. >used and perhaps we need apple's proprietary unpublished secret version
  922. >of stuffit.
  923. >
  924. Stuffit Expander recognizes the files, but only after you give the
  925. .sit file a name by hand while you are decoding the binhex file.
  926. Anyway, I think all the files were renewed yesterday, so these new
  927. versions might be more benign.
  928.  
  929.  
  930. ===========================================================================
  931. Dr. Levent Mollamustafaoglu       Harvard University    
  932. molla@paone.harvard.edu    molla@metatron.harvard.edu
  933. ===========================================================================
  934.  
  935. +++++++++++++++++++++++++++
  936.  
  937. From: ralph@madras.mso.anu.edu.au (Ralph Sutherland)
  938. Organization: Mt. Stromlo and Siding Spring Observatories
  939. Date: Sun, 3 May 92 04:57:30 GMT
  940.  
  941. Various people seem to have had the same stuffit decoding problem with the
  942. new technotes posted on ftp.apple.com, that I had.  Stuffit 1.6 and unstuffit
  943. deluxe failed to recognise the archive version.
  944.  
  945. I emailed Mark B. Johnson and he very kindly wrote back:
  946.  
  947. >Date: Fri, 1 May 1992 18:02:41 -0800
  948. >To: ralph@merlin.anu.edu.au
  949. >From: mjohnson@apple.com
  950. >Subject: Re: Tech Notes on ftp.apple.com
  951. >
  952. >You can use the StuffIt Expander in /ftp/dts/utils to decode them.  In
  953. >addition, Aladdin will be releasing a beta of the Shareware StuffIt next
  954. >week, so that should do it...
  955. >
  956. >Mark
  957.  
  958. Presumably they have used Stuffit 3 and the decoder in /ftp/dts/utils can
  959. decode these.
  960.  
  961. cheers
  962. ralph
  963.  
  964. - -- 
  965. - ---- Ralph S. Sutherland      Mount Stromlo & Siding Spring Observatories.
  966. - ---- ralph@madras.anu.edu.au  The Australian National University.
  967. - ---- rss100@cscgpo.anu.edu.au --------------------------------------------
  968.  
  969. +++++++++++++++++++++++++++
  970.  
  971. From: leonardr@ccs.itd.umich.edu
  972. Organization: Campus Computing Sites, University of Michigan-Ann Arbor
  973. Date: Sun, 3 May 92 05:08:16 GMT
  974.  
  975. In article <1992May03.021040.26124@crash.cts.com> alen@crash.cts.com (Alen Shapiro) writes:
  976. >In <92121.083520K360171@ALIJKU11.BITNET> K360171@ALIJKU11.BITNET (Norbert Mueller) writes:
  977. >
  978. >>The technotes recently reappeared in ftp.apple.com. However the hqx files seem
  979. >>to be damaged. (I only tried those >300)
  980. >
  981. >My versions of unstuffit suggest that an new encoding method has been
  982. >used and perhaps we need apple's proprietary unpublished secret version
  983. >of stuffit.
  984. >
  985.     Actually you are not far off...Apple (MacDTS in this case) is a beta
  986. site for StuffIt 3.0 and (due to its improved compression & speed, as well
  987. as some tools we have built for them) has chosen to begin distribution of
  988. new files (such as the technotes) in StuffIt 3.0 format.
  989.  
  990.     Until StuffIt 3.0 is released (soon, soon!), you should use StuffIt
  991. Expander to UnStuff those new archives (and old ones too - it's MUCH faster
  992. than the older StuffIt's!)
  993.  
  994.  
  995. - -- 
  996. - -----------------------------------------------------------------------
  997. Leonard Rosenthol          Internet: leonardr@ccs.itd.umich.edu
  998. Director of Advanced Technology   AppleLink: MACgician
  999. Aladdin Systems, inc.          GEnie:     MACgician
  1000.  
  1001. +++++++++++++++++++++++++++
  1002.  
  1003. From: nmday@apple.com (Neil Day)
  1004. Date: 5 May 92 03:09:03 GMT
  1005. Organization: Apple Computer, Inc.
  1006.  
  1007. All,
  1008.  
  1009.    Well, getting the individual Tech Notes up on FTP.Apple.com hasn't gone
  1010. quite as smoothly as I would have hoped, and I'd like to appologize for any
  1011. mayhem various errors have caused.  Fortunately things seem to be under
  1012. control at this point...
  1013.    If you have questions/comments/complaints/requests regarding DTS Tech Notes
  1014. or Sample Code, please feel free to get in touch with me via email.  This  
  1015. stuff is supposed to be for you, so if you have ideas on how it can be more 
  1016. usefull I'd be interested in hearing them.
  1017.  
  1018. Thanks again,
  1019.  
  1020. Neil Day
  1021. TN-SC-PB
  1022. Apple Computer, Inc.
  1023.  
  1024. nmday@apple.com
  1025.  
  1026. ---------------------------
  1027.  
  1028. End of C.S.M.P. Digest
  1029. **********************
  1030.